<#include "/tags/newsItemTag.ftl">

<#list data.news as news>
	<#assign avatar=""/>
	<#if news.avatar??>
		<#assign avatar=news.avatar/>
	</#if>
	<@newsItem avatar news.title news.SEOLink news.updatedSince news.likeCount news.id news.youLikeThis news.intro news.tags news.commentCount news.comments/>
	<#assign lastItem=news/>	
</#list> 
<#if lastItem??>
	<#assign tag=""/>
	<#if tagId??>
		<#assign tag=tagId />
	</#if>
	<div id="next_page_scroll" class="news;${tag}" rel="${lastItem.sortedValue}" style="float:left"></div>
	<div id="scroll_loader" style="display: none; width: 100%; float: left; padding-top: 30px;">
		<center>
			<img src="/images/loader.gif"/>
		</center>
	</div>
	<div id="show_more" class="wallReadmore">
		<a href="#show_more" id="show_more_button">Hiển thị các bài viết cũ hơn</a>
	</div>
</#if>	